package tpo.lmhconsumer.lmhconsumer.service.impl;

import dto.Dto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tpo.lmhconsumer.lmhconsumer.feign.BrandClient;
import tpo.lmhconsumer.lmhconsumer.service.BrandService;

import java.util.Map;

@Service
public class BrandServiceImpl implements BrandService {
    @Autowired
    BrandClient brandClient;
    @Override
    public Dto getBrand(Map map) {
        return brandClient.getBrand(map);
    }

    @Override
    public Dto updateBrand(Map map) {
        return brandClient.updateBrand(map);
    }

    @Override
    public Dto addBrand(Map map) {
        return brandClient.addBrand(map);
    }

    @Override
    public Dto delBrand(Map map) {
        return brandClient.delBrand(map);
    }
}
